Tangoe Procurement for Rivermine and Command  [MobProc] icon

Tangoe Procurement for Rivermine and Command [MobProc]

(0 reviews)

How to Validate an Access Token

The following information is required to validate an access token:

  • access_token: The access token to be validated.

NOTE: Some client IDs may not have the permissions required to validate tokens. When requested, this permission is granted on a case by case basis.

Endpoints

An access token is validated by making an HTTP GET to our validation endpoint. The specific endpoint used will depend upon your instance’s environment type:

  • For Production: http://tngo-prod-oauth-ping-validator.cloudhub.io
  • For QA: http://tngo-qa-oauth-ping-validator.cloudhub.io

Request Query Parameters

To validate an access token, the following query parameters need to be passed with this GET request:

resources/Screen%20Shot%202019-11-22%20at%209.01.11%20AM-4fe12e73-c962-4c66-92c4-8c0d4aa4799d.png

Example

The following is an example of a GET request to validate a token:

https://oauthqa.tangoe.com/as/token.oauth2?grant_type=urn:pingidentity.com:oauth2:grant_type:validate_bearer=8jmFdZdww2h3FDYNJEHXgvtnXbdc=286ff94127c8801e9227d89337c14351=72g30d2857fo4a41A9525345572AC72LK

The following is an example of a response that might be returned:

{
    "scope": "MOBPROC",
    "expires_in": 7186,
    "client_id": "286ff94127c8801e9227d89337c14351",
    "access_token": {
        "platform": "command",
        "tenant": "XYZ",
        "multitenant": "false",
        "domain": "*",
        "identityProvider": "pcv_edge",
        "identifier": "api.account.xyz"
    }
  }

The following properties are returned in the token validation response:

resources/Screen%20Shot%202019-11-22%20at%209.04.32%20AM-6b28f62b-54f0-48fd-89ba-bf5fab27fa10.png


Reviews